PDFCosStream Class
Definition
Namespace: O2S.Components.PDF4NET.Core.Cos
Defines a PDF COS stream.
Inheritance: Object → PDFCosObject → PDFCosDictionary → PDFCosDictionaryContainer → PDFCosStream
Implements: IPDFCosObjectContainer
Constructor
| Name | Description |
|---|---|
| PDFCosStream() | Initializes a new PDFCosStream object. |
Properties
| Name | Description |
|---|---|
| Count | Gets the number of key/value pairs contained in the Dictionary. (inherited from PDFCosDictionary) |
| DecodedStream | Gets the decoded stream. |
| FileOffset | Gets the object's file offset. (inherited from PDFCosDictionaryContainer) |
| Item | Gets or sets the value associated with the specified key. (inherited from PDFCosDictionary) |
| Keys | Gets a collection containing the keys in the Dictionary. (inherited from PDFCosDictionary) |
| OriginalObjectNumber | Gets the original object number. (inherited from PDFCosDictionaryContainer) |
| Stream | Gets or sets the stream content. |
| Type | Gets the object type. (inherited from PDFCosObject) |
Methods
| Name | Description |
|---|---|
| GetKeyValueAsBool | Gets the value of the specified key as a boolean. (inherited from PDFCosDictionary) |
| GetKeyValueAsNumber | Gets the value of the specified key as a double. (inherited from PDFCosDictionary) |
| GetKeyValueAsString | Gets the value of the specified key as a string. (inherited from PDFCosDictionary) |
| SetStreamContent | Sets the COS stream content with the specified stream. |
| ToString | Returns a String that represents the current Object. |